package com.hl.payServer.core.wePay;


import com.hl.payServer.annotation.Optional;
import com.hl.payServer.model.enums.WepayField;

/**
 * 扫码支付请求对象
 */
public class MicroPayRequest extends PayRequest {

    /**
     * 授权码
     * {@link WepayField#PRODUCT_ID}
     */
    @Optional(any = false)
    private String authCode;

    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    @Override
    public String toString() {
        return "QrPayRequest{" +
                "authCode='" + authCode + '\'' +
                "} " + super.toString();
    }
}
